package com.caocaog.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.ShopKilometerPrice;

import java.io.Serializable;
import java.util.List;

/**
 * 公里价格
 *
 * @author chechen
 * @date 2021-11-30
 */
public interface ShopKilometerPriceService extends IService<ShopKilometerPrice> {

    ShopKilometerPrice queryShopKilometerPriceById(Serializable id);

    Long addShopKilometerPrice(ShopKilometerPrice shopKilometerPrice);

    List<ShopKilometerPrice> addBatchShopKilometerPrice(List<ShopKilometerPrice> shopKilometerPrices);

    @Deprecated
    int updateShopKilometerPrice(ShopKilometerPrice shopKilometerPrice);

    @Deprecated
    int deleteBatchShopKilometerPrice(List<String> ids);

}
